//
//  TT_serverApiConfig.h
//  ZKGX
//
//  Created by 王洋 on 2020/3/17.
//  Copyright © 2020 王洋. All rights reserved.
//

#ifndef TT_serverApiConfig_h
#define TT_serverApiConfig_h

//https://h5test.hqhh520.top  // H5测试地址
//https://businesstest.hqhh520.top // 商家测试地址
//https://platformtest.hqhh520.top // 平台测试地址


//#define kCloseProxy YES
//#define kCloseAd YES

#define kCloseProxy NO
#define kCloseAd NO

#define BA_Global_Domain      @"https://api.hqhh520.top"
#define BA_GlobalH5_Domain      @"https://h5.hqhh520.top/#"
#define BA_GlobalPdf_Domain      @"https://static.hqhh520.top"

//#define BA_Global_Domain      @"https://apitest.hqhh520.top/"
//#define BA_GlobalH5_Domain      @"https://h5test.hqhh520.top/#"
//#define BA_GlobalPdf_Domain      @"https://static.hqhh520.top"

//#define BA_Global_Domain      @"http://124.71.172.252:9000"
//#define BA_GlobalH5_Domain      @"http://124.71.172.252:7070/#"
//#define BA_GlobalPdf_Domain      @"http://124.71.172.252:90"


#define TT_Global_Api_Domain  [NSString stringWithFormat:@"%@/zuul/v1/userpc",BA_Global_Domain]

#define TT_Global_Service_Domain  [NSString stringWithFormat:@"%@/zuul/v1/business/",BA_Global_Domain]

#define TT_Global_Api_Platform  [NSString stringWithFormat:@"%@/zuul/v1/platform",BA_Global_Domain]


#pragma mark API--------------------LOGIN--------------------

#define API_Register           @"/user/register"

#define API_Login              @"/login"

#define API_Login_V2              @"/loginNew"



#define API_WXAuth             @"/weChatAuth"

#define API_AliAuth            @"/aliAuth"



#define API_WXLogin              @"/weChatLogin"

#define API_AliAuthStr           @"/getAliAuth"

//第三方授权
#define API_ThirdAuth            @"/threeAuth"

//第三方登录
#define API_ThirdLogin           @"/threeLogin"

#define API_VertiLogin           @"/oneClickLogin"

#define API_LoginBanner          @"/indexApp/queryLoginUrl"



#define API_ChangePsw          @"/indexApp/updatePassword"


#define API_SMS                @"/sms/sendRegistSmsCode"

//查询用户表
#define API_MyInfo             @"/user/queryInfo"

//修改用户表
#define API_EditMyInfo         @"/user/updateUser"

//绑定支付宝微信
#define API_BindWXAli         @"/user/userBind"



//检查微信支付宝绑定
#define API_CheckWXAliBind     @"/user/queryUserIsBind"




//首页
#define API_Home               @"/indexApp/queryIndexAll"

//城市列表
#define API_CityList           @"/indexApp/sysCityList"

#define API_HotCityList           @"/indexApp/getSysHotCityList"

//热门搜索
#define API_HotSearch          @"/indexApp/getHotList"


#define API_SearchAll          @"/secondaryQueryController/searchAll"


#define API_Category           @"/indexApp/querySysClassificationAll"

//查当前级别的信息
#define API_CurrentCategory           @"/indexApp/queryZiSysClassificationList"



#define API_ChildCategory      @"/indexApp/querySysClassificationList"



#define API_HomeCategory       @"/indexApp/querySysClassification"


//根据分类id查套餐
#define API_PackageCategory    @"/indexApp/querySellerGoodsList"

//获取活动婚品
#define API_ActPackage         @"/secondaryQueryController/getActiveGoods"

//判断用户是否下单活动婚品
#define API_CheckActOrder      @"/secondaryQueryController/boolActiveOrder"

#define API_GetActive          @"/indexApp/getActive"



//根据分类id查店铺
#define API_StoreCategory     @"/secondaryQueryController/querySellerList"

//查询严选商家
#define API_StrictStore       @"/indexApp/querySelectedMerchants"


//根据店铺id查套餐列表
#define API_StorePackage       @"/secondaryQueryController/querySellerGoodsList"

//新人专享列表查询
#define API_NewFreeProductList       @"/secondaryQueryController/selectNewUserGoods"



#define API_StoreDynamic       @"/secondaryQueryController/getSellerDynamicList"

//用户信息采集
#define API_UserInfoCollect         @"/secondaryQueryController/queryPlan"


//获取隐私号码
#define API_StorePhone         @"/my/selectPrivateNum"
//解绑号码
#define API_ElievePhone         @"/my/elieveBinding"



//套餐详情和商品详情
#define API_PackageDetail     @"/indexApp/querySellerGoods"

//添加足迹
#define API_AddFootPrint      @"/userBrowsingFootprints/insertUserBrowsingFootprints"

//店铺详情
#define API_StoreInfo         @"/secondaryQueryController/getSellerInfo"

//酒店详情
#define API_HotelInfo         @"/weddingHotel/getWeddingHotelHallInfo"

//场地详情
//#define API_HallInfo         @"/weddingHotel/getWeddingHotelHall"
#define API_HallInfo          @"/weddingHotel/getWeddingHotelHallList"


#define API_MenuList          @"/weddingHotel/getWeddingHotelMenu"



#define API_HotelAlbum        @"/weddingHotel/getSellerBanquetHallImg"

//查询档期
#define API_HallSchedule      @"/weddingHotel/getWeddingHotelSellerSchedule"



#define API_GetEvaluateDetail @"/getSellerCommentDetails"



//根据店铺id查询店铺视频相册
#define API_StoreMedia        @"/secondaryQueryController/getSellerImageList"


#define API_StoreList        @"/secondaryQueryController/querySellerList"


#define API_EvaluateList        @"/getSellerCommentList"



#define API_CaseDetail        @"/secondaryQueryController/querysellerOpusInfo"


//查询无忧选
#define API_WYXLab        @"/secondaryQueryController/querySellerWorryFreeLabel"




//根据storeid  样照id  分类id查商家作品
#define API_StoreCase         @"/secondaryQueryController/querysellerOpusList"

//查主题
#define API_AllTheme         @"/secondaryQueryController/querySysIndustryTheme"


#define API_ThemeCaseList         @"/secondaryQueryController/querySellerOpus"



#pragma mark 消息

#define API_SysMessage                @"/sysNotice/sysNoticeList"

#define API_SysMessageDetail          @"/sysNotice/queryInfo"

#define API_ReadSysMsg                @"/sysNotice/insertUserReadNotice"

#define API_UnReadSysMsgCount         @"/sysNotice/queryUserNotReadCount"



#pragma mark 优惠券
//领取优惠券
//#define API_getCoupon              @"/insertUserCoupon"

#define API_getCoupon              @"/insertUserCp"



#define API_myCoupon               @"/getUserCoupons"

#define API_couponType               @"/selectCouponType"



#define API_CouponList               @"/secondaryQueryController/getAllowances"

//预约商家
#define API_subscribeStore         @"/sellerCustomerData/insertSellerCustomerData"


#pragma mark 购物车
//购物车
#define API_ShopCart               @"/userShoppingCart/userShoppingCartList"

#define API_CarCart                @"/userShoppingCarCart/getUserShoppingCarCartList"



//删除我的购物车
#define API_DeleteCart             @"/userShoppingCart/delMyShoppingCart"

#define API_UpdateCarCart          @"/userShoppingCarCart/updateUserShoppingCarCart"



//添加购物车
#define API_AddCart                @"/userShoppingCart/insertUserShoppingCart"

#define API_AddCarCart                @"/userShoppingCarCart/insertUserShoppingCarCart"



//优惠券
#define API_SubmitEditOrder        @"/secondaryQueryController/toplaceTheOrder"

//生成订单
#define API_SubmitPackageOrder     @"/orderCenter/generateSetMealOrder"

//生成尾款订单
#define API_SubmitWKOrder          @"/orderCenter/getEndSetMealOrder"



#define API_PayOrderDJ             @"/orderCenter/getSetMealOrder"



//处理订单
#define API_DealOrder              @"/orderCenter/dealOrder"


#pragma mark 支付
#define API_Pay                    @"/payCenter/toPay"




#pragma mark 我的


//查询我的相关数量信息
#define API_MineCount             @"/my/queryMyAll"

#define API_UserInsurance             @"/my/findUserInsurance"



//推荐信息
#define API_MyCode                @"/my/queryUserCode"

//推送消息到公众号
#define API_MyImToPublic          @"/my/imToPublic"

#define API_MyImToSms             @"/my/imSendMessage"

//
#define API_MyImMessage             @"/my/imMessage"

#define API_MyImRdsLisenMessage             @"/my/imRedisListenMessage"



#define API_MyImUserToSms             @"/my/sendMessageToPlatform"



#define API_YiJianUpdate          @"/insertUserFeedback"

//获取客服id 统筹师id  商家id
#define API_GetImId               @"/my/queryPlatformCustomerService"


#define API_GetStoreImId          @"/my/querySellerService"



//根据imid查询storeid
#define API_GetStoreId               @"/my/querySellerId"

//新的根据群id查storeId
#define API_GetIMStoreId               @"/my/enterStore"



//获取推荐人列表
#define API_GetRecList               @"/user/recommendList"

//查询我的婚期
#define API_GetMarryDay               @"/user/queryMarryTime"



#define API_WithDraw              @"/sysWithdrawal/insertSysWithdrawal"


#define API_WithDrawInfo              @"/getSysParameters"



#define API_WithDrawList          @"/sysWithdrawal/getSysWithdrawals"




//添加地址
#define API_AddAddress             @"/userAddress/insertUserAddress"

//我的订单
#define API_MyOrder                    @"/my/queryMyOrder"

//推荐的用户订单
#define API_RecOrder                    @"/userOrder/getRecommendedList"



//订单详情
#define API_OrderDetail                @"/userOrder/getUserOrderDetail"


#define API_OrderEvaluate                @"/insertUserEvaluate"

//获取退款原因
#define API_RefundReason                @"/userOrder/getRefundList"


#define API_ApplyRefund                @"/userRefund/insertUserRefund"

//退款详情
#define API_RefundDetail               @"/userRefund/getUserRefundById"

//退款列表
#define API_RefundList               @"/userRefund/userpcGetOrderRefund"


#define API_OrderExpressInfo          @"/getExpresss"




#define API_AddCollect             @"/userCollection/insertUserCollection"

//我的收藏
#define API_MyCollect              @"/userCollection/queryAll"

//我的预约
#define API_MySubscribe            @"/sellerCustomerData/getSellerCustomerDatas"


#define API_MyBalance            @"/userOrder/getUserBalance"


#define API_InvitationList            @"/userInvitation/querySysInvitationList"

#define API_MyInvitationList            @"/userInvitation/userInvitationList"


//修改地址
#define API_updateAddress          @"/userAddress/updateUserAddress"

//地址列表
#define API_AddressList            @"/userAddress/userAddressList"


//我的足迹
#define API_FootPrint              @"/userBrowsingFootprints/insertUserBrowsingFootprints" //C端添加用户浏览足迹表


#define API_FootPrintList          @"/userBrowsingFootprints/userBrowsingFootprintsList" //C端添加用户浏览足迹表


#define API_ClearFootPrint         @"/userBrowsingFootprints/deleteUserBrowsingFoot"

//获取所有桌子
#define API_MarrySeatsPage         @"/userWeddingSeats/weddingSeatsList"



//添加桌子
#define API_AddSeats               @"/userWeddingSeats/insert"

//更新桌子
#define API_UpdateSeats               @"/userWeddingSeats/updateSeats"

#define API_DeleteSeats               @"/userWeddingSeats/delete"


#pragma mark 社区

//谈婚主帖表查询接口
#define API_SysPostList               @"/sysPost/getSysPostList"

//谈婚主帖表查询分页接口
#define API_SysPosts               @"/sysPost/getSysPosts"


#define API_UpdateSysPosts               @"/sysPost/updateSysPost"



#define API_PostDetail               @"/sysPost/getSysPostById"

//获取一级评论
#define API_PostChilds               @"/sysPostChild/getSysPostChilds"


#define API_LunJiaHead               @"/sysPost/getTopicIndex"




#define API_PublishPost               @"/sysPost/insertSysPost"

//关联主题接口
#define API_ThemeList               @"/sysPostTheme/getSysPostThemeList"

#define API_ThemeDetail               @"/sysPostTheme/getSysPostThemeById"



//回复

#define API_CommonEva               @"/sysInteraction/insertSysInteraction"


//回复帖子
#define API_PostEva               @"/sysPostChild/insertSysPostChild"

//回复用户
#define API_PostUserEva               @"/sysPostChildSide/insertSysPostChildSide"




//
#define API_SysThemes               @"/sysPostTheme/getSysPostThemes"


//我的问答
#define API_MYQA                   @"/userMyQuestion/userSquare"

#define API_UpdateQA                   @"/userMyQuestion/update"



#define API_QADetail                @"/userMyQuestion/answerDetails"

#define API_QAMoreAnswer                @"/userMyQuestion/getAnswer"


#define API_QAPublish                @"/userMyQuestion/insert"

//问题领域列表
#define API_QueryAll                @"/userMyQuestion/queryAll"

#pragma mark my community

#define API_MyCommunityHD                @"/sysInteraction/getMySysInteractionPage"

//新增举报
#define API_AddReport                @"/sysReport/insertSysReport"


#define API_SysInteractionCount                @"/sysInteraction/getSysInteractionCount"


//代理商业务
//根据城市id获取当前城市的金牌推荐官
#define API_GoldAgentList                @"/userApplyRecommender/selectList"
//提交申请信息
#define API_ApplyRecommender             @"/userApplyRecommender/insert"

//#define API_GetRecommender               @"/getRecommender"
#define API_GetRecommender               @"/userApplyRecommender/getRecommender"
//用户二维码成为推荐管
#define API_CodeAddRecommender               @"/userApplyRecommender/addRecommender"


#define API_AgentInfo                    @"/userApplyRecommender/selectOne"

//#define API_AgentInfoUpdate              @"/userApplyRecommender/update"




#define API_ApplyRing                @"/userAppointmentAbstain/insert"

#define API_ApplyRingList            @"/userAppointmentAbstain/appointmentAbstainList"

#define API_ApplyRingDetail          @"/userAppointmentAbstain/selectOne"

#define API_RingUpdate               @"/userAppointmentAbstain/update"

#define API_GetYunOrderList          @"/yunPayCenter/getYunOrderList"
#define API_GetYunOrderInfo          @"/yunPayCenter/getYunPayOrderByOrderId"


#define API_MyPointsList @"/my/queryMyPointsList"

#endif /* TT_serverApiConfig_h */
